package com.learn.my.flutter;

/**
 * 获取真实数据
 */
public class RealData  extends Data{

    private String result;


    public RealData(String result) {
        System.out.println("正在使用data进行网络请求，data:"+result+",开始。。。。");
        try {
            Thread.sleep(3000);
        }catch (Exception e){

        }
        System.out.println("操作执行完毕。。。获取到结果");
        this.result = "获取龚";
    }

    @Override
    public String getRequest() {
        return result;
    }
}
